<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="../js/easyui-1.3.5/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="../js/easyui-1.3.5/themes/icon.css" />
<script src="../js/easyui-1.3.5/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/easyui-1.3.5/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/easyui-1.3.5/jquery.edatagrid.js" type="text/javascript" charset="utf-8"></script>
<script src="../js/ajax.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
var rootName = ajax.getRootName();
var uri = rootName + "/koala_cookie"
$(function() {
  $('#dg').edatagrid({
    rownumbers:true,
    singleSelect:true,
    url:uri+'/list',
    onError: function(index, row) {
      alert(row.msg);
    },
  });
});
</script>
</head>

<body>
<table id="dg" title="koala cookie">
  <thead>
    <tr>
      <th field="ip">ip</th>
      <th field="cookie">cookie</th>
    </tr>
  </thead>
</table>
</body>

</html>